package com.njym.payment.alipay.properties;

import com.njym.annotation.ExistCheck;

import javax.validation.constraints.NotBlank;

/**
 * H5支付参数
 *
 * @author zhy
 * @date 2019-03-22 10:31
 **/
public class H5PayParams {
	/**
	 *机构ID
	 */
	@NotBlank(message = "outTradeNo不能为空")
	private String orgId;

	/**
	 * 渠道ID
	 */
	@NotBlank(message = "channelId不能为空")
	private String channelId;

	private String authCode;

	/**
	 * 系统订单号
	 */
	@NotBlank(message = "outTradeNo不能为空")
	@ExistCheck(message = "订单号已存在，请重新生成！")
	private String outTradeNo;

	/**
	 *病人卡号
	 */
	private String cardNo;

	/**
	 *病人姓名
	 */
	private String name;

	/**
	 *标题
	 */
	@NotBlank(message = "subject(标题)不能为空")
	private String subject;

	/**
	 *描述
	 */
	private String describe;

	/**
	 *对一笔交易的具体描述信息
	 */
	@NotBlank(message = "body(具体描述)不能为空")
	private String body;

	/**
	 *订单总金额
	 */
	@NotBlank(message = "totalAmount(交易金额)不能为空")
	private String totalAmount;

	/**
	 *卖家支付宝账号ID
	 */
	private String sellerId;

	/**
	 *
	 */
	private String terminalId;

	/**
	 *商户操作员编号
	 */
	private String operatorId;

	/**
	 *操作员姓名
	 */
	private String operatorName;

	public String getOrgId() {
		return orgId;
	}

	public void setOrgId(String orgId) {
		this.orgId = orgId;
	}

	public String getChannelId() {
		return channelId;
	}

	public void setChannelId(String channelId) {
		this.channelId = channelId;
	}

	public String getAuthCode() {
		return authCode;
	}

	public void setAuthCode(String authCode) {
		this.authCode = authCode;
	}

	public String getOutTradeNo() {
		return outTradeNo;
	}

	public void setOutTradeNo(String outTradeNo) {
		this.outTradeNo = outTradeNo;
	}

	public String getCardNo() {
		return cardNo;
	}

	public void setCardNo(String cardNo) {
		this.cardNo = cardNo;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getSubject() {
		return subject;
	}

	public void setSubject(String subject) {
		this.subject = subject;
	}

	public String getDescribe() {
		return describe;
	}

	public void setDescribe(String describe) {
		this.describe = describe;
	}

	public String getBody() {
		return body;
	}

	public void setBody(String body) {
		this.body = body;
	}

	public String getTotalAmount() {
		return totalAmount;
	}

	public void setTotalAmount(String totalAmount) {
		this.totalAmount = totalAmount;
	}

	public String getSellerId() {
		return sellerId;
	}

	public void setSellerId(String sellerId) {
		this.sellerId = sellerId;
	}

	public String getTerminalId() {
		return terminalId;
	}

	public void setTerminalId(String terminalId) {
		this.terminalId = terminalId;
	}

	public String getOperatorId() {
		return operatorId;
	}

	public void setOperatorId(String operatorId) {
		this.operatorId = operatorId;
	}

	public String getOperatorName() {
		return operatorName;
	}

	public void setOperatorName(String operatorName) {
		this.operatorName = operatorName;
	}
}
